 |
Doomsday rule Totally Explained
|
|  |
|
FOR SALE! | Either this or the left-hand panel are available for just $19.95 per day, or you can have both for only $34.95! Contact us for details.
|
Everything about The Doomsday Rule totally explainedThe Doomsday rule or Doomsday algorithm is a way of calculating the day of the week of a given date. It provides a perpetual calendar since the Gregorian calendar moves in cycles of 400 years.
The algorithm for mental calculation was invented by John Conway. It takes advantage of the fact that within any calendar year, the days of 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February always occur on the same day of week - the so-called "doomsday" (and furthermore that other months have "doomsday" on the pairs 5/9 and 9/5 as well as 7/11 and 11/7, which can be remembered using a simple mnemonic). This applies to both the Gregorian calendar A.D. and the Julian calendar, but note that for the Julian calendar the Doomsday of a year is a weekday that's usually different from that for the Gregorian calendar.
The algorithm has three steps: namely, finding the anchor day for the century, finding a year's Doomsday, and finding the day of week of the day in question.
Finding a year's Doomsday
We first take the anchor day for the century. For the purposes of the Doomsday rule, a century starts with a 00 year and ends with a 99 year. The following table shows the anchor day of centuries 1800–1899, 1900–1999, 2000–2099 and 2100–2199.
| Century |
Anchor day |
Mnemonic |
| 1800–1899 |
Friday |
- |
| 1900–1999 |
Wednesday |
We-in-dis-day (most living people were born in that century) |
| 2000–2099 |
Tuesday |
Y-Tue-K (Y2K was at the head of this century) |
| 2100–2199 |
Sunday |
20-One-day is Sunday (2100 is the start of the next century) |
Since in the Gregorian calendar there are 146097 days, or exactly 20871 seven-day weeks, in 400 years, the anchor day repeats every four centuries. For example, the anchor day of 1700–1799 is the same as the anchor day of 2100–2199, for example Sunday.
Next, we find the year's Doomsday. To accomplish that according to Conway:
- Divide the year's last two digits (call this y) by 12 and let a be the floor of the quotient.
- Let b be the remainder of the same quotient.
- Divide that remainder by 4 and let c be the floor of the quotient.
- Let d be the sum of the three numbers (d = a + b + c). (It is again possible here to divide by seven and take the remainder. This number is equivalent, as it must be, to the sum of the last two digits of the year taken collectively plus the floor of those collective digits divided by four.)
- Count forward the specified number of days (d or the remainder of d/7) from the anchor day to get the year's Doomsday.
»
|
|